package com.haoyeteng.sxbd.modular.business.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 订单明细和差分账号关联表
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-07-05
 */
@TableName("bus_order_dtl_account")
public class OrderDtlAccount extends Model<OrderDtlAccount> {

    private static final long serialVersionUID = 1L;

    /**
     * 订单明细Id
     */
    @TableField("order_dtl_id")
    private Integer orderDtlId;
    /**
     * 差分账号Id
     */
    @TableField("account_id")
    private Integer accountId;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 备注
     */
    private String remark;


    public Integer getOrderDtlId() {
        return orderDtlId;
    }

    public void setOrderDtlId(Integer orderDtlId) {
        this.orderDtlId = orderDtlId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.orderDtlId;
    }

    @Override
    public String toString() {
        return "OrderDtlAccount{" +
        "orderDtlId=" + orderDtlId +
        ", accountId=" + accountId +
        ", createTime=" + createTime +
        ", remark=" + remark +
        "}";
    }
}
